import * as TYPES from '../Actions/actionTypes';

const initialState = {
	bank: {}
};

let bankReducer = (state=initialState, action)=>{

	switch(action.type){
		case TYPES.BANK_INFO:
			return {
				...state,
				bank: action.bank
			};
		default: 
			return state;
	}

}


export default bankReducer;
